﻿@model Bricks.Site.Models.EnvironmentalView

@{
    ViewBag.Title = "浏览环保整改";
    Layout = "~/Views/Shared/_UserPage.cshtml";
}

@*引入uEditor*@
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/lang/zh-cn/zh-cn.js"></script>
<link rel="stylesheet" type="text/css" href="/Res/ueditor/themes/default/css/ueditor.css" />


<script>
    $(function () {
        $.MiniUEditorInit($("#hID").val(), "SafetyManagement/Environmental/Content", "content", 500, 150, true);  //迷你加载
    });
</script>

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="circular-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">通报名称</div>
                </td>
                <td class="td" colspan="7">
                    <div class="datagrid-cell">
                        <input name="CircularName" class="easyui-textbox" data-options="required:true" style="width:420px;" value="@Model.CircularName" readonly />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">需要整改</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        @*<input id="isCorrective" name="IsCorrective" value="@Model.IsCorrective" />*@
                        @Html.CheckBoxFor(m => m.IsCorrective)
                        @*<input type="checkbox" name="IsCorrective" value="@Model.IsCorrective" />*@

                        @*<input class="check-box" data-val="true" data-val-required="是否整改 字段是必需的。" id="IsCorrective" name="IsCorrective" type="checkbox" value="@Model.IsCorrective" />
                            <input name="IsCorrective" type="hidden" value="@Model.IsCorrective" />*@
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">发布时间</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="PublishTime" class="easyui-textbox" value="@Model.PublishTime" style="background:#eeeeee;" readonly />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">发布单位</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="publishOrg" name="PublishOrg" class="easyui-textbox" value="@Model.PublishOrg" style="background:#eeeeee;" readonly />
                        @*<input id="publishOrgID" name="PublishOrgID" class="easyui-textbox" value="@Model.PublishOrgID" readonly />*@
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">发布人</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="PublishUser" class="easyui-textbox" style="background:#eeeeee;" value="@Model.PublishUser" readonly />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">整改标段</div>
                </td>
                <td class="td" colspan="7">
                    <div class="datagrid-cell">
                        <input id="correctiveSection" name="CorrectiveSection" data-options="required:false" style="width:355px;" value="@Model.CorrectiveSection" readonly />
                        <a id="chooseCorrectiveSection" href='javascript:void(0)' class='easyui-linkbutton' onclick='Edit.ChooseCorrectiveSection()' data-options='plain:true,iconCls:"icon-bell",disabled:true'>选择</a>
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">通报内容</div>
                </td>
                <td class="td" colspan="7">
                    <div class="datagrid-cell">
                        <textarea id="content" name="Content" cols="57" rows="5" readonly>@Model.Content</textarea>
                    </div>
                </td>
            </tr>
        </table>
        <input id="hID" name="ID" type="hidden" value="@Model.ID" />
        @*<input name="PublishOrgID" type="hidden" value="@Model.PublishOrgID" />*@
        <input id="hPublishUserID" name="PublishUserID" type="hidden" value="@Model.PublishUserID" />
        <input id="tempCorrectiveSectionIDs" type="hidden" />
        <input id="correctiveSectionIDs" name="CorrectiveSectionIDs" type="hidden" value="@Model.CorrectiveSectionIDs" />
        <input name="IsDeleted" type="hidden" value="@Model.IsDeleted" />
        <input name="AddDate" type="hidden" value="@Model.AddDate" />
    </form>
</div>
